C# |
---|
public Color GetColorFromRGBString(String rgbText) |
C# |
---|
// App.Config file. // <configuration> // <appSettings> // <add key="EndColor" value="255,255,255" /> // </appSettings> // </configuration> using System.Drawing; using LJCNetCommon; var appSettings = new AppSettings("AppName.exe.config"); Color endColor; endColor = appSettings.GetColorFromRGBString("EndColor"); |